<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basepath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>超时提醒</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta content="telephone=no" name="format-detection" />
    <link href="<%=basepath%>css/index.css" rel="stylesheet" type="text/css">
    <link href="<%=basepath%>css/parking.css" rel="stylesheet" type="text/css">
    <script src="<%=basepath%>js/jquery-1.8.3.min.js"></script>
    <script src="<%=basepath%>js/layer/layer.js"></script>
</head>
<body>
<div class="viewport">
    <div class="header">
       <div class="header-1">
           <a href="javascrpt:void(0)" id="join" class="header-2">
              <span id="account" class="account">${empty user.realName ? '' : user.realName}</span>&nbsp;&nbsp;<span id="deptName" class="deptName">${user.departmentName}</span>
           </a>
           <a href="/wape-web/api/core/centerService?serviceCode=WJ9999&targetURL=yuexi&prefix=3g_mmzs&entrance=yes" class="back" id="back">返回</a>
           <span class="span-num">WOP25000</span>
       </div>
    </div>
    <div class="content m-top">
        <div class="hr-1"></div>
        <div class="fix">
            <div class="fix-1">
                <a href="/wape-web/api/core/centerService?serviceCode=MMZS120&queryType=1" class="fix-1-1">全部调度信息</a>
                <a href="/wape-web/api/core/centerService?serviceCode=MMZS120&queryType=2" class="fix-1-1">缴费信息</a>
                <a href="/wape-web/api/core/centerService?serviceCode=MMZS122&queryFlag=1" class="fix-1-1">24小时收费信息</a>
                <a href="/wape-web/api/core/centerService?serviceCode=MMZS120&queryType=4" class="fix-1-1 li-active margin-right">超时提醒</a>
            </div>
        </div>
        <div class="blank-m"></div>
        <!-- 
        <div class="vehicle-2">
            <div class="vehicle-2-1">
                <span class="span-1"><input type="radio" name="radio" class="input-v1"><span class="span-3">按档口号排序</span><input type="radio" name="radio" class="input-v1"><span class="span-3">按进场时间排序</span></span>
            </div>
        </div>
        -->
	    <c:forEach var="el" items="${list}">
	        <c:set var="dt" value="${el.get('feeCount') }"></c:set>
            <c:if test="${dt.countCar != '0'}">
                <div class="vehicle-3">
                    <div class="vehicle-3-1"><span class="span-1">${dt.dateStr}</span><span class="span-2"><b>${dt.countCar}</b>台次</span></div>
                </div>
                <c:forEach var="pt" items="${el.get('list')}">
                    <div class="vehicle-4">
                        <a href="/wape-web/api/core/centerService?serviceCode=MMZS112&inRecordNum=${pt.inRecordNum }&storeId=${pt.storeId}&storeName=${pt.storeName}&sonStoreName=${pt.sonStoreName}&sonStoreId=${pt.sonStoreId}&payType=${pt.payType}&queryType=4" class="vehicle-4-1">
                            <table>
                                <tr>
                                    <td class="td-v1">${pt.plateNum}</td>
                                    <td class="td-v2">${pt.sonStoreName}</td>
                                    <td class="td-v3">${pt.totalHours}小时</td>
                                    <td class="td-v3">${pt.waitedHours }小时</td>
                                    <td class="red td-v4">${pt.dispatcherTime }</td>
                                    <!-- 
                                    <c:if test="${pt.payType eq '0'}">
                                       <td class="red td-v4">未交费</td>
                                    </c:if>
                                    <c:if test="${pt.payType ne '0'}">
                                       <td class="gray td-v4">已缴费</td>
                                    </c:if>
                                    -->
                                </tr>
                            </table>
                        </a>
                    </div>
                </c:forEach>
                <div class="blank"></div>
            </c:if>
        </c:forEach>
        <div class="space"></div>
    </div>
</div>
<script type="text/javascript">
    /*错误提示*/
    $(function(){
        var error = "${requestScope.returnMsg}";
        if(error != "" && error != "成功!"){
            layer.msg(error,{shadeClose:true,shade:0.1,time:2000});
        }
    });
    $(".fix-1").animate({scrollLeft:$(".li-active").offset().left}, 0);
</script>
</body>
</html>

